package com.market.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author market
 * @since 2022-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MaStall对象", description="")
public class MaStall implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "摊位id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "摊位费用")
    private Float price;

    @ApiModelProperty(value = "摊位状态")
    private String status;

    @ApiModelProperty(value = "租用人id 0为未租用")
    private Integer  userId;

    @ApiModelProperty(value = "摊位图片")
    private String picture;

    @ApiModelProperty(value = "添加时间")
    private Date creatTime;

    @ApiModelProperty(value = "出租时间")
    private Date updTime;

    @ApiModelProperty(value = "摊位名字")
    private String stName;

    @TableField(exist = false)
    private MaUser maUser;

}
